package co.edu.usbcali.raju.games.chess;

import co.edu.usbcali.raju.games.chess.helpers.ChessBoardFactory;
import jpl.Query;

public class Test {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		initProlog();
		System.out.println(ChessBoardFactory.getInstance().getInitialBoard());
	}
	
	public static void initProlog(){
		String t3 = "consult('chessRules.pl')";
		Query q3 = new Query(t3);
		System.out.println( t3 + " " + (q3.hasSolution() ? "succeeded" : "failed") );
	}

}
